﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace EntityDesigner2
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            if (args == null)
            {
                Application.Run(new FrmMain());
            }
            else
            {
                if (args.Length < 1)
                { Application.Run(new FrmMain()); }
                else
                { Application.Run(new FrmMain() { InitPath = args[0] }); }
            }

        }
    }
}
